package com.wzq.design.business.base.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录的请求参数
 *
 * @author wangzhiqiang
 * @since 2023/6/29 10:18
 */
@Data
public class LoginRequest {
    /**
     * 用户名
     */
    @NotBlank(message = "登录名不能为空")
    private String username;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;


    /**
     * 验证码key
     */
    private String captchaKey;
    /**
     * 验证码值
     */
    private String captchaCode;
}
